package com.example.chapter12.dip;

public class Test {
    public static void main(String[] args) {
        Man man = new Man(new Heart());
        man.setHead(new Head());
        man.behavior();
    }
}
